Skip to main content

GET Dynamic Category Detail

GET : http://<base_url>/digipay/v3/user/dynamic_category/{id}

This API used to Delete new Dynamic Category Data into the system

PATH PARAMS:-

ParameterTypeDescriptionValue
idStringUnique id assign to dynamic category retrive a dynamic category detail6a651c1c48a2baa5eee44c98430c

HEADERS:-

ParameterTypeDescriptionValue
AuthorizationStringIt is a combination of type and token to authenticate user for the given tokenToken duik7309njdlkhdauhknksadhjkas986876sd873j
CompanyIDStringCompany_id is a unique primary id, that is represent company detail76bc712200ca444fa334f9e55e5fd7a8

Request Body:-

Request Example
curl --request GET \
--url http://192.168.1.102:8014/digipay/v3/user/dynamic_category/6a651c1c48a2baa5eee44c98430c \
--header 'Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2NWY0ZDI1MDliZmU0NTBmYTg4MTVhNTU5Njk3YmM0NyIsInJvbGVzIjpbIlJPTEVfQURNSU4iXSwiZXhwIjoxNjkzNTIxOTU1fQ.9oWwUzlFzmYB1ZOhaVamxKJH6DsMO8tFue2kbg2YyoI' \
--header 'CompanyID: 76bc712200ca444fa334f9e55e5fd7a8' \
--header 'accept: application/json'

Response:-

Response 200(OK)

{
"success": 1,
"error": [],
"data": {
"dynamic_category": {
"is_active": true,
"created_by": "65f4d2509bfe450fa8815a559697bc47",
"created_date": 1675334054,
"updated_by": null,
"updated_date": 1675334054,
"id": "5367f02e28c74e6dafba7da47dc699ac",
"name": "aaa",
"category_key": "Hii",
"display_order": 1,
"type": 2,
"is_default": null,
"no_of_doc_required": 2,
"user_type": 1
}
}
}
Response 400(BAD REQUEST)
{
"success": 0,
"error"": [1],
"data": {
"message": "BAD_REQUEST",
}
}

RESPONSES :-

Status CodeDescription
200OK
400Bad Request
404Not Found
500Internal Server Error